package com.ks.community.service;

import com.ks.community.entity.Post;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ks.community.entity.vo.PostVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dCoder
 * @since 2022-04-13
 */
public interface PostService extends IService<Post> {

    void addOne(PostVo postVo);

    List<Post> SelectAll();

    List<Post> SelectById(String upId);
}
